﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Approves.ascx.cs" Inherits="Jzy.Web.WorkFlow.Fore.Controls.Approves" %>
<div id="list">
    <table id="lvList" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
            <th class="sp">&nbsp;
            </th>
            <th>
                审批节点
            </th>
            <th>
                发送人
            </th>
            <th>
                处理人
            </th>
            <th>
                送达时间
            </th>
            <th>
                状态
            </th>
            <th>
                完成时间
            </th>
            <th>
                处理意见
            </th>
            <th>
                操作
            </th>
        </tr>
        <tr id="tr0" runat="server" visible="false">
            <td colspan="8" class="empty">
                没有数据
            </td>
        </tr>
        <tr id="tr1" runat="server">           
            <td colspan="9" class="title">
                审批列表
            </td>
        </tr>
        <asp:ListView ID="lv1" runat="server" ItemPlaceholderID="items">
            <LayoutTemplate>
                <tr id="items" runat="server"></tr>
            </LayoutTemplate>
            <ItemTemplate>
                <tr>
                    <td class="sp">
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("ReceiveNodeName") %>&nbsp;
                    </td>
                    <td>
                        <%#Eval("SendName")%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("ReceiveName")%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("SendTime") %>
                    </td>
                    <td>
                        <%#GetTaskState(Eval("State"))%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("FinishTime") %>&nbsp;
                    </td>
                    <td>
                        <%#Eval("Result") %>&nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </ItemTemplate>
        </asp:ListView>
        <tr id="tr2" runat="server">            
            <td colspan="9" class="title">
                加签列表
            </td>
        </tr>
        <asp:ListView ID="lv2" runat="server" ItemPlaceholderID="items">
            <LayoutTemplate>
                <tr id="items" runat="server"></tr>
            </LayoutTemplate>
            <ItemTemplate>
                <tr>
                    <td class="sp">
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("ReceiveNodeName")%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("SendName")%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("ReceiveName")%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("SendTime") %>
                    </td>
                    <td>
                        <%#GetTaskState(Eval("State"))%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("FinishTime") %>&nbsp;
                    </td>
                    <td>
                        <%#Eval("Result") %>&nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </ItemTemplate>
            
        </asp:ListView>
        <tr id="tr3" runat="server">            
            <td colspan="9" class="title">
                传阅列表
            </td>
        </tr>
        <asp:ListView ID="lv3" runat="server" ItemPlaceholderID="items">
            <LayoutTemplate>
                <tr id="items" runat="server"></tr>
            </LayoutTemplate>
            <ItemTemplate>
                <tr class="sp">
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("ReceiveNodeName")%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("SendName")%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("ReceiveName")%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("SendTime") %>
                    </td>
                    <td>
                        <%#GetTaskState(Eval("State"))%>&nbsp;
                    </td>
                    <td>
                        <%#Eval("FinishTime") %>&nbsp;
                    </td>
                    <td>
                        <%#Eval("Result") %>&nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </ItemTemplate>
        </asp:ListView>
    </table>
</div>